package com.libo.utils;

import com.libo.bean.Environment;


public class BeanCopyUtils {

    public static Environment copy(Environment environment){
        return new Environment().setSendId(environment.getSendId())
                .setSmartId(environment.getSmartId())
                .setAreaModelId(environment.getAreaModelId())
                .setSensorAddress(environment.getSensorAddress())
                .setSensorCount(environment.getSensorCount())
                .setInstructionDesignation(environment.getInstructionDesignation())
                .setStatus(environment.getStatus())
                .setGatherTime(environment.getGatherTime());
    }
}